#ifndef DESKTOPWIDGET_H
#define DESKTOPWIDGET_H

#include <QWidget>

class QLCDNumber;
class QTimer;

class DesktopWidget : public QWidget
              {
    Q_OBJECT
public:
    explicit DesktopWidget(QWidget *parent = 0);

signals:
    void wqTestBtnClicked();
    void photoBtnClicked();
    void aboutBtnClicked();
    void webBtnClicked();
    void timeBtnClicked();
    void folderBtnClicked();
    void musicBtnClicked();

public slots:


protected:
    void hideEvent(QHideEvent *event);
    void showEvent(QShowEvent *event);

private slots:
    void refreshTimeLCD();

private:
    void loadQss();

private:
    QLCDNumber *m_pTimeLab;
    QTimer *m_pTimer;
};

#endif // DESKTOPWIDGET_H
